Fix typo in docstring
authorTheodor Thornhill <theo@thornhill.no>
Fri, 29 Mar 2024 08:18:53 +0000 (09:18 +0100)
committerTheodor Thornhill <theo@thornhill.no>
Sat, 30 Mar 2024 19:48:32 +0000 (20:48 +0100)
* lisp/progmodes/eglot.el (eglot-lsp-server): eglot-current-server is
now exposed.

lisp/progmodes/eglot.el

index 7d2f1a551654839662f9c2cdc41d47da202510ac..515c33f8cdeafc2594e8f9152f7b0757961dac35 100644 (file)
@@ -1064,7 +1064,7 @@ ACTION is an LSP object of either `CodeAction' or `Command' type."
 
 (declare-function w32-long-file-name "w32proc.c" (fn))
 (defun eglot-uri-to-path (uri)
-  "Convert URI to file path, helped by `eglot--current-server'."
+  "Convert URI to file path, helped by `eglot-current-server'."
   (when (keywordp uri) (setq uri (substring (symbol-name uri) 1)))
   (let* ((server (eglot-current-server))
          (remote-prefix (and server (eglot--trampish-p server)))